Finding Connict Sets and Backtrack Points in Clp(<)
نویسندگان
چکیده
This paper presents a method for intelligent backtracking in CLP(<). Our method integrates a depth-rst intelligent backtracking algorithm developed for logic programming with an original constraint satisfaction algorithm which naturally generates sets of connicting constraints. We prove that if CLP(<) is assumed to cover strictly the domain of real numbers, then the constraint satisfaction algorithm provides minimal connict sets to be used as a basis for intelligent backtracking. We then extend the backtrack-ing method to cover a two-sorted domain, where variables can be bound to either structured terms or real numbers. We discuss a practical implementation of the algorithm using a generator-consumer approach to the recording of variable bindings, and we give an example of a CLP(<) program which beneets signiicantly from intelligent backtracking.
منابع مشابه
Finding Con ict Sets and Backtrack Points in CLP
This paper presents a method for intelligent backtracking in CLP Our method integrates a depth rst intelligent backtracking algorithm developed for logic programming with an original constraint satisfaction algorithm which naturally generates sets of con icting constraints We prove that if CLP is assumed to cover strictly the domain of real numbers then the constraint satisfaction algorithm pro...
متن کاملEecient Local Search with Connict Minimization: a Case Study of the N-queens Problem 1
Backtracking search is frequently applied to solve a constraint-based search problem but it often suuers from exponential growth of computing time. We present an alternative to backtracking search: local search based on connict minimization. We have applied this general search framework to study a benchmark constraint-based search problem, the n-queens problem. An eecient local search algorithm...
متن کاملSolubility Prediction of Drugs in Supercritical Carbon Dioxide Using Artificial Neural Network
The descriptors computed by HyperChem® software were employed to represent the solubility of 40 drug molecules in supercritical carbon dioxide using an artificial neural network with the architecture of 15-4-1. The accuracy of the proposed method was evaluated by computing average of absolute error (AE) of calculated and experimental logarithm of solubilities. The AE (±SD) of data sets was 0.4 ...
متن کاملSolubility Prediction of Drugs in Supercritical Carbon Dioxide Using Artificial Neural Network
The descriptors computed by HyperChem® software were employed to represent the solubility of 40 drug molecules in supercritical carbon dioxide using an artificial neural network with the architecture of 15-4-1. The accuracy of the proposed method was evaluated by computing average of absolute error (AE) of calculated and experimental logarithm of solubilities. The AE (±SD) of data sets was 0.4 ...
متن کاملTest case generation for object-oriented imperative languages in CLP
Testing is a vital part of the software development process. Test Case Generation (TCG) is the process of automatically generating a collection of test-cases which are applied to a system under test. White-box TCG is usually performed by means of symbolic execution, i.e., instead of executing the program on normal values (e.g., numbers), the program is executed on symbolic values representing a...
متن کامل